<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>第三个作业</title>
    <script type="text/javascript">
        var arr1 = ["a","x","b","d","m","a","k","m","p","j","a"];
        var arr2 = [];//记录出现次数最多的字母
        var len = arr1.length;

        for(var i=0;i<len;i++){


        }

    </script>
</head>
<body>
  <p>
      找到数组[“a“，”x“，”b“，”d“，”m“，”a“，”k，“m”，“p”，“j”，“a”]出现最多的字母并给出个数和每一个所在的顺序。
  </p>
</body>
</html>